
<cfoutput>
<!DOCTYPE html> 
<html> 

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, maximum-scale=1.0, initial-scale=1.0">  
		<title>weatherTek</title> 
	    
	    <link rel="apple-touch-icon" href="assets/images/apple-touch-icon.png"/>

		
	    <!-- scripts -->
		<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
		<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
   		<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
	    
	    
	    <!-- css / theme -->
	   	<link rel="stylesheet" href="assets/css/theme.css"><!-- change the number of the css file to switch themes -->
	    <link rel="stylesheet" href="assets/css/style.css">

	    
	    <!-- add to homepage bubble on iphone, ipad  -->
		<script type="text/javascript">
			if ('standalone' in navigator && !navigator.standalone && (/iphone|ipod|ipad/gi).test(navigator.platform) && (/Safari/i).test(navigator.appVersion)) {
				document.write('<link rel="stylesheet" href="assets\/add-bubble\/style\/add2home.css">');
				document.write('<script type="application\/javascript" src="assets\/add-bubble\/src\/add2home.js" charset="utf-8"><\/s' + 'cript>');
			}
		</script>
	    

	</head> 


	<body>
		<div data-role="page">

		<div data-role="header" class="page-header">
			<h1>weatherTek 1.0</h1>
		</div>

		<div data-role="content">	
	    <cfif request.action eq 'main.default'>
	    	<div class="logo"></div>
	    </cfif>
	    	<cfoutput>
		    	<div id="body">
					#body#
				</div>
				<img src="assets/images/shadow2.png" class="shadow" alt="shadow">
			</cfoutput>
	     
	  	</div>

		<div data-role="footer" class="footer">
			<div data-role="navbar" class="custom-icons" data-grid="c"  data-position="">
				<ul>
					<li>
						<a href="?#framework.action#=main.default" id="home" data-icon="home">Home</a>
					</li>
					<li>
						<a <cfif structKeyExists(session,'itemType')>href="?#framework.action#=#session.itemType#.list"<cfelse>href="alert('please select your category first.')"</cfif> rel="external" id="list" data-icon="custom">List</a>
					</li>
					<li>
						<a <cfif structKeyExists(session,'itemType')>href="?#framework.action#=#session.itemType#.chart"<cfelse>href="alert('please select your category first.')"</cfif> rel="external" id="chart" data-icon="custom">Chart</a>
					</li>
					<li>
						<a <cfif structKeyExists(session,'itemType')>href="?#framework.action#=#session.itemType#.map"<cfelse>href="alert('please select your category first.')"</cfif> id="map" data-icon="custom">Map</a>
					</li>
				</ul>
			</div>
		</div>
		
	</div>

	</body>
</html>
</cfoutput>